<template>
  <div>
    <div class="head">
      <span class='titletext'>{{data.head}}</span>
    </div>
    <div class="foot">
      <span class='detail'>{{data.foot}}</span>
      <span class='right'>{{data.right}}</span>
    </div>
  </div>
</template>

<script>
export default {
  name: 'TitleTag',
  props: {
    data: {
      type: Object,
      default () {
        return {}
      }
    }
  },
  methods: {

  }
}
</script>
<style scoped>
.head {
  margin-top: 5%;
}
.titletext {
  display: block;
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  color: #4682b4;
}

.foot {
  position: relative;
}
.detail {
  margin-left: 10px;
  display: inline-block;
  font-size: 14px;
  color: #778899;
}
.right {
  margin-right: 10px;
  float: right;
  color: #778899;
}
</style>
